<ion-view   view-title="路线详情" hide-nav-bar="true" hide-tabs>
    <style>
      .rr_btn_link{
        font-size:20px;
        font-weight:500;
        color:#B0E2FF;
        float:right;
      }
      #schame_content p,#schame_content em{
         font-size:18px;
      }
      #schame_content p{
         padding: 5px 15px 0 15px;
         line-height: 28px;
         color: rgb(20,20,20);
         margin-bottom :0;
      }
      #schame_content em,#schame_content strong{
        font-weight:600;
      }
      #schame_content img{
        width:100%;
        height:300px;
      }
    </style>
  <ion-content scroll="true" >
    <div style="width:100%;height:60px;position:fixed;padding-top:22px;padding-left:5px;z-index:999">
     <button class="button button-clear" ng-click="navback()" style="width:60px;height:60px;margin-left:0px;align:left;">
     	 <i class="ion-chevron-left" style="font-size:26px;color:black;" ></i>
     </button>
    </div>
    <img err-src="img/jizhou.png" ng-src="{{way.url}}" width="100%" height="330">
    <div style="padding:15px;margin-top:10px;border-bottom: 1px solid #eee;">
      <span class="apple_font" style="font-size:28px;font-weight:600px;">
          {{way.name}}
      </span>
      <p class="apple_font hh_p" style="margin-top:10px;font-size: 20px;">
          {{way.cityName}}，{{way.country}}
      </p>
      <p class="apple_font hh_p" style="margin-top:5px;font-size: 20px;">
                <i class="ion-ios-star" style="color:rgb(254,242,58)"></i>
                <i class="ion-ios-star" style="color:rgb(254,242,58)"></i>
                <i class="ion-ios-star" style="color:rgb(254,242,58)"></i>
                <i class="ion-ios-star" style="color:rgb(254,242,58)"></i>
                <i class="ion-ios-star" style="color:rgb(254,242,58)"></i>
      </p>
    </div>
      <div style="padding:15px;font-size: 20px;padding-bottom: 25px;" class="apple_font hh_p">
        {{way.description}}
      </div>
      <div style="padding:15px;font-size:20px;border-bottom:1px solid #eee;" class="apple_font hh_p">
        领队：<span style="color:#B0E2FF;margin-left:10px;">{{way.leaderName}}</span>
      </div>
       <div style="padding:15px;font-size:20px;" class="apple_font hh_p">
        <span  class="apple_font" style="font-size:20px;font-weight:600px;">行程安排</span>
        <a class="rr_btn_link" ng-click="showSchedule(way)">查看</a>
      </div>
      <div id="schame_content">
         <!--<p>
           <em>第一天:</em><br/>
        抵达济州岛入住酒店
        </p>
        <p>
           <em>第二天天:</em><br/>
        8:10 抵达济州岛入住酒店 <br/>
        9.10 点点滴滴<br>
        10.10 的点点滴滴
        </p>-->
        <p  markdown-to-html="way.tripRouteInfo"></p>
      </div>

     
    <div style="padding:15px;font-size:20px;border-top:1px solid #eee;" class="apple_font hh_p">
        <span  class="apple_font" style="font-size:20px;font-weight:600px;">{{way.commentNum}}条评价</span>
        <a class="rr_btn_link" ng-disabled="!way.commentArr[0]" ng-click="showComment(way.commentArr)">查看</a>
        <br>
        <span ng-show="way.commentArr[0]">
                <i ng-repeat="dd in way.commentArr[0].commentLevel|getOkStar" class="ion-ios-star" style="color:rgb(254,242,58)"></i> 
        </span>
      </div>
      <div class="list" style="margin-bottom: 15px;" ng-show="way.commentArr[0]">
        <a ng-click="showComment(way.commentArr)" class="item item-avatar" style="min-height: 50px;padding-bottom: 7px;padding-top: 7px;border:none;" >
          <img err-src="http://www.runoob.com/try/demo_source/venkman.jpg" ng-src="{{way.commentArr[0].headImgUrl}}" style="top: 6px;">
          <h2 style="display:flex;flex-direction:row;justify-content:space-between"><span style="font-size:18px;">{{way.commentArr[0].nickName}}</span> <span style="font-size:14px;color:gray;">{{way.commentArr[0].submitTime}}</span></h2>
          <!--<p>2天160公里</p>-->
          <p> {{way.commentArr[0].content}}</p>
        </a>
      </div>
     <div style="padding:15px;font-size:20px;border-bottom:1px solid #eee;border-top:1px solid #eee;" class="apple_font hh_p">
        <span  class="apple_font" style="font-size:20px;font-weight:600px;">费用包含</span>
        <a class="rr_btn_link" ng-click="showCostDetail(way.costDesc)">阅读</a>
      </div>
        <div style="padding:15px;font-size:20px;border-bottom:1px solid #eee;" class="apple_font hh_p">
        <span  class="apple_font" style="font-size:20px;font-weight:600px;">退订政策</span>
        <a class="rr_btn_link" ng-click="showBackBook(way.backBookDesc)">阅读</a>
      </div>
        <div style="padding:15px;font-size:20px;border-bottom:1px solid #eee;" class="apple_font hh_p">
        <span  class="apple_font" style="font-size:20px;font-weight:600px;">可参团状态</span>
        <a class="rr_btn_link">阅读</a>
      </div>
          <div style="padding:15px;font-size:20px;border-bottom:1px solid #eee;" class="apple_font hh_p">
        <span  class="apple_font" style="font-size:20px;font-weight:600px;">联系领队</span>
        <a class="rr_btn_link" ng-click="connect(way)">消息</a>
      </div>
      <div style="height:46px;width:100%;"></div>
  </ion-content>
    <div ng-click="getBook(way.id)" style="width:100%;height:44px;position:fixed;bottom:0;z-index:999;background:#63B8FF;text-align: center;font-size: 20px;line-height: 44px;letter-spacing: 10px;color: white;font-weight: 500;">
      预约
    </div>
</ion-view>